package com.forekonw.demotest1029;

public class Book {
    private String bname;
    private int bno;
    private double bmoney;
    private int stock;


    public Book(){

    }

    public Book(String bname,int bno,double bmoney,int stock){
        this.bname = bname;
        this.bno = bno;
        this.bmoney = bmoney;
        this.stock = stock;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public int getBno() {
        return bno;
    }

    public void setBno(int bno) {
        this.bno = bno;
    }

    public double getBmoney() {
        return bmoney;
    }

    public void setBmoney(double bmoney) {
        this.bmoney = bmoney;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }
}
